﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MvcEngine.Blog.Models.Entities;
using MvcEngine.Core.Repositories;

namespace MvcEngine.Blog.Repositories
{
    public interface IBlogRepository
    {
        BlogData GetByPage(Guid pageId);

        void Update(BlogData blog);

        void Add(BlogData blog);

        BlogData Get(Guid blogId);

        IList<BlogData> GetAll(Guid siteId);

        BlogData Get(string blogName);
    }
}
